angular.module('angular-imglazy', []).directive('imglazy', ['$timeout', function($timeout) {
    return {
        restrict: 'A',
        link: function(scope, element, attributes) {
        	$timeout(function() {
        		angular.element(element).lazyload()
        	}, 0)
        }
    }
}])